import request from '@/utils/request'

// 登录
export function login(data: { username: String; password: String }) {
  return request({
    url: '/mock/login',
    method: 'POST',
    data
  })
}
// 用户信息
export function getUserInfo(data: String) {
  return request({
    url: '/mock/userInfo',
    method: 'POST',
    data
  })
}
// 表格数据
export function getTableData(data: ObjectAny) {
  return request({
    url: '/mock/tableData',
    method: 'POST',
    data
  })
}
